/* 自定义字体 bukhari */
@font-face {
    font-family: 'bukhari';
    src: url('../fonts/bukhari_script-webfont.eot') format('eot'),
    url('../fonts/bukhari_script-webfont.woff') format('woff'),
    url('../fonts/bukhari_script-webfont.ttf') format('truetype'),
    url('../fonts/bukhari_script-webfont.svg#bukhari') format('svg');
}
body a:hover{
    text-decoration:none;
}
h1,h2,h3,h4,h5,h6{
    margin:0;
}
p{
    margin:0;
}
ul,label{
    margin:0;
    padding:0;
}

/* 表单验证 */
.passed_validation{
}

.unpassed_validation{
}

.error{
    color:#f00 !important;
}

/* header */
.top-header{
    position: fixed;
    z-index: 9999;
    width:100%;
    padding:0;
}
.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    position: relative;
    min-height:auto;
    margin-bottom: 0px;
    border:none;
    /*padding:0.2em 0;*/
}

.navbar-default {
    border-color:#111111;
    background-color: #111111;
}
.navbar-default .navbar-nav > li > a {
    font-family: "微软雅黑 Light";
    font-size: 18px;
    font-weight: bolder;
    letter-spacing: 0.1em;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 0;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #ffc600;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #111111;
}

/* logo */
.logo {
    float: left;
    text-align: center;
}
.logo a {
    font-family: bukhari;
    font-size: 20px;
    color:rgba(255,198,0,1);
    display: block;
    width: 88px;
    height: 50px;
    line-height: 50px;
}
.logo a:hover{
    color:rgba(255,198,66,1);
    text-decoration: none;
}
/* logo */
#x-navbar-collapse{
    float: left;
    width: 94%;
    padding-left: 20%;
}
#x-navbar-collapse ul.nav.navbar-nav:nth-child(1)>li:first-child {
    margin-left: 100px;
}
/* search box */
.search {
    float: left;
    width: 50%;
    padding-top: 6px;
}
.search form {
    width: 75%;
    margin: 0 auto;
    position: relative;
}
.search input[type="search"] {
    border: none;
    padding: 9px 41px 9px 20px;
    font-size: 14px;
    background: #333333;
    color: #aaaaaa;
    -webkit-appearance: none;
    outline: none;
    width: 100%;
    border-radius: 30px;
}
button.btn.btn-default {
    border: none;
    width: 19px;
    height: 19px;
    position: absolute;
    top: 21%;
    right: 5%;
    padding: 0;
    outline: none;
    box-shadow: none;
    background: none;
}
button.btn.btn-default:focus {
    background: none !important;
    box-shadow: none !important;
    border-color:rgba(255,255,255,0) !important;
}
.glyphicon {
    top:3px;
}
span.glyphicon.glyphicon-search {
    font-size: 1.3em;
    color: #515151;
}
span.glyphicon.glyphicon-search:focus {
    outline: none;
}
span.glyphicon.glyphicon-search:hover {
    color: #aaaaaa;
}
/* search box end */

.dropdown li a{
    border-left:none;
    display: block;
}
.dropdown-menu > li > a {
    padding:6px 14px;
    font-size: 0.9em;
}

/* profile */
ul.navbar-nav.navbar-right li a{
    font-size: 12px;
}
.navbar-default .navbar-nav > li > a img{
    margin-right:6px;
    margin-top: -5px;
    border-radius: 16px;
    width: 32px;
    height: 32px;
}
/* profile end */
/* header end */

/* footer */
#footer {
    background-color: #111111;
    color: #ffffff;
    padding: 15px;
}
/* footer en* /

/*--responsive--*/
/* ipad pro */
@media (max-width: 1080px) {
    #x-navbar-collapse{
        float: left;
        width: 90%;
        padding-left: 15%;
    }
    #x-navbar-collapse ul.nav.navbar-nav:nth-child(1) li:nth-child(1) {
        margin-left: 20px;
    }
}
/* ipad */
@media (max-width: 991px){
    .navbar-header {
        width: 9%;
    }
    .navbar-nav > li > a {
        padding-top:12px;
        padding-bottom: 6px;
    }
    /* logo */
    .logo {
        width: 100%;
    }
    /* logo end */

    /* search box */
    .search input[type="search"] {
        padding: 5px 41px 5px 20px;
    }
    .search {
        width: 46%;
        padding-top: 6px;
    }
    /* search box end */
}
@media (max-width: 800px){
    .navbar {
        padding: 0.5em 0 0;
    }
}
@media (min-width: 768px) {
    .navbar {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

}
@media(max-width:640px){
    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-right: 0px;
        margin-left: 0px;
    }
    .navbar-header {
        width: 100%;
        margin: 0;
    }
    .navbar-toggle {
        margin-right: 15px;
        margin-top: 1px;
    }
    .logo {
        width: 12%;
    }
    .search {
        width: 100%;
    }
    .search form {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .navbar-nav {
        margin:0;
        display: inline-block;
        width: 100%;
    }

    #x-navbar-collapse{
        float: left;
        width: 100%;
    }
    #x-navbar-collapse ul.nav.navbar-nav:nth-child(1) li:nth-child(1) {
        margin-left: 0px;
    }
}
@media(max-width:568px){
}
@media(max-width:480px){
    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-right: 0px;
        margin-left: 0px;
    }
}
@media(max-width:320px){
    .navbar-toggle {
        margin-top: 6px;
    }
    .logo {
        width: 30%;
        padding-top: 0px;
        margin-left: 0;
        margin-bottom:10px;
    }
}